package net.hn.hnms.biz.plan.vo;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@ApiModel(value = "北能各矿基本产销汇总")
public class ProductionMarketingCountVo {


    @ApiModelProperty("主键")
    private String productionMarketingName;
    @ApiModelProperty("核定产能(万吨) ")
    private BigDecimal approvedCapacity;
    @ApiModelProperty("年计划产量")
    private BigDecimal planYield;
    @ApiModelProperty("年累计产量")
    private BigDecimal countYield=new BigDecimal(0);
    @ApiModelProperty("年计划进尺")
    private BigDecimal planFootage;
    @ApiModelProperty("年累计进尺")
    private BigDecimal countFootage;
    @ApiModelProperty("年计划剥离量")
    private BigDecimal planPeel;
    @ApiModelProperty("年累计剥离量")
    private BigDecimal countPeel=new BigDecimal(0);
    @ApiModelProperty("采煤工作面/采煤台阶")
    private Integer coalFace;
    @ApiModelProperty("采煤工作线长度(米)	")
    private BigDecimal coalFaceLength;
    @ApiModelProperty("掘进工作面")
    private Integer drivingFace;
    @ApiModelProperty("剥离台阶")
    private Integer strippingStep;
    @ApiModelProperty("剥离工作线长度(米)")
    private BigDecimal stripWorkingLength;
    @ApiModelProperty("排土工作面")
    private Integer drainageFace;
    @ApiModelProperty("年自用（万吨）")
    private BigDecimal selfUseCoal;
    @ApiModelProperty("年内供(万吨)")
    private BigDecimal internalCoalSupply=new BigDecimal(0);
    @ApiModelProperty("年累计销售(万吨)")
    private BigDecimal totalSales=new BigDecimal(0);
    @ApiModelProperty("煤矿类型 1:井工 2:露天")
    private String coalType;

    @ApiModelProperty("平均剥采比 count_peel/count_yield")
    private BigDecimal overallStrippingRatio;

    @ApiModelProperty("平均内供率 internal_coal_supply/total_sales")
    private BigDecimal averageMagicRatio;

    private String mineCode;
    private String companyCode;

//    public BigDecimal getOverallStrippingRatio() {
//
////        return count_peel/count_yield;
//        return countPeel.divide(countYield,2);
//    }
//
//    public BigDecimal getAverageMagicRatio() {
//        return internalCoalSupply.divide(total_Sales,2);
//    }
}
